package com.freight.tws.domain;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.freight.common.core.annotation.Excel;
import com.freight.common.core.web.domain.MyPlusEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

/**
 * 发票关联订单对象 tws_bill_order
 * 
 * @author ruoyi
 * @date 2023-02-13
 */
@Data
@ToString
@EqualsAndHashCode
@NoArgsConstructor
@Accessors(chain = true)
@TableName("tws_bill_order")
public class BillOrder extends MyPlusEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    @TableId
    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;

    /** 发票id */
    @Excel(name = "发票id")
    @JsonSerialize(using = ToStringSerializer.class)
    private Long billId;

    /** 订单id */
    @Excel(name = "订单id")
    @JsonSerialize(using = ToStringSerializer.class)
    private Long orderId;

}
